#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main() {
	char* p, * q;
	p = (char*)malloc(sizeof(char) * 20);
	q = p;
	scanf("%s %s", p, q);
	printf("%s %s\n", p, q);
}